package com.dba.example.web.mvc.controllers;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.dba.example.domain.Blah;

@Controller
@RequestMapping(value = "/rest")
public class RestController {

    @RequestMapping(value = "/get", method = RequestMethod.GET)
    @ResponseBody
    public Blah search() {
        return new Blah("aaaaaaaaaaaaaaaaaaaaaa");
    }

}
